<?php /* Smarty version 2.6.12, created on 2008-11-25 13:10:36
         compiled from head.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'amp', 'head.tpl', 9, false),array('modifier', 'escape', 'head.tpl', 39, false),)), $this); ?>
<?php func_load_lang($this, "head.tpl","lbl_home,txt_logged_in,lbl_logoff"); ?><table cellpadding="0" cellspacing="0" width="100%">
<tr> 
		<td class="HeadLogo"><a href=<?php if ($this->_tpl_vars['store_language'] == 'FR'): ?>"<?php echo $this->_tpl_vars['xcart_http_host']; ?>
/?lg=FR"<?php else: ?>"<?php echo $this->_tpl_vars['xcart_http_host']; ?>
/?lg=US&a=8"<?php endif; ?>><img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/logo.jpg" width="200" height="81" alt="" /></a></td>
		<td class="HeadRightBox" valign="middle">
<a href="home.php" class="toplink"><?php echo $this->_tpl_vars['lng']['lbl_home']; ?>
</a> 
<?php unset($this->_sections['ai']);
$this->_sections['ai']['name'] = 'ai';
$this->_sections['ai']['loop'] = is_array($_loop=$this->_tpl_vars['all_languages']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['ai']['show'] = true;
$this->_sections['ai']['max'] = $this->_sections['ai']['loop'];
$this->_sections['ai']['step'] = 1;
$this->_sections['ai']['start'] = $this->_sections['ai']['step'] > 0 ? 0 : $this->_sections['ai']['loop']-1;
if ($this->_sections['ai']['show']) {
    $this->_sections['ai']['total'] = $this->_sections['ai']['loop'];
    if ($this->_sections['ai']['total'] == 0)
        $this->_sections['ai']['show'] = false;
} else
    $this->_sections['ai']['total'] = 0;
if ($this->_sections['ai']['show']):

            for ($this->_sections['ai']['index'] = $this->_sections['ai']['start'], $this->_sections['ai']['iteration'] = 1;
                 $this->_sections['ai']['iteration'] <= $this->_sections['ai']['total'];
                 $this->_sections['ai']['index'] += $this->_sections['ai']['step'], $this->_sections['ai']['iteration']++):
$this->_sections['ai']['rownum'] = $this->_sections['ai']['iteration'];
$this->_sections['ai']['index_prev'] = $this->_sections['ai']['index'] - $this->_sections['ai']['step'];
$this->_sections['ai']['index_next'] = $this->_sections['ai']['index'] + $this->_sections['ai']['step'];
$this->_sections['ai']['first']      = ($this->_sections['ai']['iteration'] == 1);
$this->_sections['ai']['last']       = ($this->_sections['ai']['iteration'] == $this->_sections['ai']['total']);
?>&nbsp;|&nbsp; <a href="<?php echo $GLOBALS['HTTP_SERVER_VARS']['PHP_SELF']; ?>
?<?php echo ((is_array($_tmp=$GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'])) ? $this->_run_mod_handler('amp', true, $_tmp) : smarty_modifier_amp($_tmp)); ?>
&sl=<?php echo $this->_tpl_vars['all_languages'][$this->_sections['ai']['index']]['code']; ?>
" class="toplink"><?php echo $this->_tpl_vars['all_languages'][$this->_sections['ai']['index']]['language']; ?>
</a><?php endfor; endif; ?>
	</td>
</tr>
<tr>
<td colspan="2"><img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/spacer.gif" width="10" height="5"></td>
</tr>
</table>



<table cellpadding="0" cellspacing="0" width="100%">
<tr> 
	<td colspan="2" class="HeadThinLine"><img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/spacer.gif" class="Spc" alt="" /></td>
</tr>

<tr> 
	<td colspan="2" class="HeadWhiteLine"><img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/spacer.gif" class="Spc1" alt="" /></td>
</tr>

<?php if ($this->_tpl_vars['main'] != 'fast_lane_checkout'): ?>
<tr> 
	<td class="HeadLine" height="22" colspan=2" align="center" ><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "customer/top_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>	</td>
</tr>

<?php else: ?>
<tr> 
	<td colspan="2" class="HeadLine">
<form action="<?php echo $this->_tpl_vars['xcart_web_dir']; ?>
/include/login.php" method="post" name="toploginform">
<input type="hidden" name="mode" value="logout" />
<input type="hidden" name="redirect" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['redirect'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
	<td class="FLCAuthPreBox">
<?php if ($this->_tpl_vars['active_modules']['SnS_connector'] && $this->_tpl_vars['sns_collector_path_url'] != '' && $this->_tpl_vars['config']['SnS_connector']['sns_display_button'] == 'Y'): ?>
	<img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/rarrow.gif" alt="" valign="middle" /><b><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "modules/SnS_connector/button.tpl", 'smarty_include_vars' => array('text_link' => 'Y')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></b>
<?php else: ?>
	<img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/spacer.gif" class="Spc" alt="" />
<?php endif; ?>
	</td>
<?php if ($this->_tpl_vars['login'] != ""): ?>
	<td align="right" nowrap="nowrap"><b><?php echo $this->_tpl_vars['userinfo']['firstname']; ?>
 <?php echo $this->_tpl_vars['userinfo']['lastname']; ?>
</b> <?php echo $this->_tpl_vars['lng']['txt_logged_in']; ?>
</td>
	<td class="FLCAuthBox">
<?php if ($this->_tpl_vars['js_enabled']): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "buttons/button.tpl", 'smarty_include_vars' => array('button_title' => $this->_tpl_vars['lng']['lbl_logoff'],'href' => "javascript: document.toploginform.submit();",'js_to_href' => 'Y')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  else: ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "buttons/logout_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  endif; ?>
	</td>
<?php endif; ?>
</tr>
</table>
</form>
	</td>
</tr>
<?php endif; ?>

<tr> 
	<td colspan="2" class="HeadWhiteLine"><img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/spacer.gif" class="Spc1" alt="" /></td>
</tr>


<?php if ($this->_tpl_vars['main'] != 'fast_lane_checkout'):  else: ?>
<tr>
	<td colspan="2" class="FLCTopPad"><img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/spacer.gif" alt="" /></td>
</tr>
<?php endif; ?>
</table>